package org.oexam.ostudy.facade;

import org.oexam.ostudy.facade.struct.AdminDetails;
import org.oexam.ostudy.facade.struct.AdminList;
import org.oexam.ostudy.sl.ManageAdminList;


public class ViewAdminList {
	
	public AdminList getAdminList() {
		 
		 ManageAdminList manageAdmins = new ManageAdminList();
		 AdminList list = manageAdmins.getAdminList();
		
		 return list;
	}
	
	public AdminDetails getAdminDetails(int admin_id) {
		
		ManageAdminList manageAdmins = new ManageAdminList();
		AdminDetails ad = manageAdmins.getAdminDetails(admin_id);
		return ad;
	}

}
